var t = require("../../utils/http.js");
require("../../utils/api.js");
Page({
  data: { content: {} },
  onLoad: function (t) {
    this.setData({ orderNo: t.orderNo }),
      this.getOrderDetail({ orderSn: t.orderNo });
  },
  getOrderDetail: function (n) {
    var e = this;
    t.getOrderDetail(n).then(function (t) {
      var n = t.data;
      e.setData({ content: n });
    });
  },
  toPage: function () {
    wx.navigateTo({
      url: "plugin-private://wx393d60d93f70599c/pages/teamAppointment/index?type="
        .concat(this.data.content.teamType, "&orderId=")
        .concat(this.data.content.id),
    });
  },
  CallPhone: function () {
    wx.makePhoneCall({ phoneNumber: wx.getStorageSync("telphoneNumber") });
  },
  onReady: function () {},
  onShow: function () {},
  onHide: function () {},
  onUnload: function () {},
  onPullDownRefresh: function () {},
  onReachBottom: function () {},
});
